package com.example.myapplication01.mvp.model;

import android.content.Context;
import android.os.Handler;
import android.util.Log;
import android.view.View;

import androidx.recyclerview.widget.RecyclerView;

import com.example.myapplication01.adapter.MyAdapter;
import com.example.myapplication01.base.BaseModel;
import com.example.myapplication01.inter.Service;

import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Converter;
import retrofit2.Response;
import retrofit2.Retrofit;

/**
 * @user xunua
 * @email  xunua@outlook.com
 * @creat time 2020/4/10 16:16
 */

public class MainModel extends BaseModel {
    public List<String> getUpdateAdapter(){
        ArrayList<String> list=new ArrayList<>();
        for (int i = 0; i < 1000; i++) {
            list.add("这是第"+i+"条数据");
        }
        return list;
    }
    public Call<String> getRequest(){
        Call<String> baidu = getService().getBaidu();
        return baidu;
    }
}
